<div class="album">
  <div class="title">
    <%= link_to_remote "相册",
      :update => :album_replace,
      :url => valleyers_show_album_url(@valleyer),
      :method => :get
  %>
    <p>&nbsp;>>&nbsp;<%= @album.name %></p>
    <%= link_to_remote "上传相片",
      :update => :album_replace,
      :url => new_valleyers_show_albums_show_photo_url(:album_id => @album.id),
      :method => :get,
      :html => {
      :class => "upload_photo_with_album"
    } if loggined_by? @valleyer
  %>
  </div>
  <div class="content">
    <% @album.photos.each do |photo| %>
      <div class="photo_monomer">
        <%= link_to_remote photo_image_tag(photo, :height => 93),
          :update => :album_replace,
          :url => valleyers_show_albums_show_photos_show_scans_url(
          :valleyer_id => @valleyer.id,
          :album_id => @album.id,
          :photo_id => photo.id
        ),
          :method => :get,
          :html => {
          :class => "photo_a"
        }
      %>
      </div>
    <% end %>
  </div>
  <div id="album_review" class="album_review">
    <%= render :file => "valleyers/show/albums/show/photos/show/entries/show/posts/index.js" %>
  </div>
</div>